package com.sc.springboot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author romeo
 * @since 2025-09-23 08:14:05
 */
@Getter
@Setter
@TableName("food")
public class Food {

    @TableId(value = "food_id", type = IdType.AUTO)
    private Integer foodId;

    /**
     * 食品名称
     */
    @TableField("food_name")
    private String foodName;

    /**
     * 热量（kcal/100g）
     */
    @TableField("calorie")
    private Integer calorie;

    /**
     * 食品类别
     */
    @TableField("category")
    private String category;

    /**
     * 食品缩略图URL
     */
    @TableField("image")
    private String image;
}
